package com.itfreer.data.config;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.itfreer.data.config.entity.ConfigVersionEntity;
import com.itfreer.form.api.BaseRestService;
import com.itfreer.form.api.BaseService;

import io.swagger.annotations.Api;

/**
 * 定义配置版本Rest服务接口
 */
@RestController
@RequestMapping("/configversion")
@Api("配置版本服务")
public class RestConfigVersionService extends BaseRestService<ConfigVersionEntity> {
	
	@Autowired(required = false)
	private ConfigVersionService service;
	
	@Override
	protected BaseService<ConfigVersionEntity> getService() {
		return service;
	}
}
